* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #e5e5e5;
}
a{
    text-decoration: none;
    color: black;
}
ul {
    width: 1200px;
    min-height: 300px;
    margin: 20px auto;
}

ul li {
    list-style: none;
    width: 236px;
    height: 304px;
    background-color: #fff;
    float: left;
    margin: 20px;
    position: relative;
}

ul li .pic {
    height: 180px;
    position: relative;
    padding: 0 10px;
}

ul li .pic img {
    width: 160px;
    height: 160px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

ul li p {
    font-size: 14px;
    text-align: center;
    line-height: 26px;
}

ul li p.price {
    color: #ff6700;
}

ul li #b {
    display: block !important;
    margin: 10px auto;
    width: 100px;
    height: 25px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    margin-left: -50px;
}
.title{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}